﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_console/_console.Master" AutoEventWireup="true"
    CodeBehind="org-user-assign.aspx.cs" Inherits="SmartSpace.WebApp._console.core.org_user_assign" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderHead" runat="server">
    <style type="text/css">
        .tab
        {
        }
        
        .tab a
        {
            border: 1px solid #ccc;
            background: #eee;
            cursor: pointer;
            text-align: center;
            text-decoration: none;
            margin: 5px;
            padding: 5px;
        }
        .tab a:hover
        {
            text-decoration: underline;
        }
        .tab a.curr
        {
            background: #fff;
            border-bottom-color: #fff;
            cursor: default;
            font-weight: bold;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMenu" runat="server">
    <ul>
        <li><a href="theme-list.aspx">主题列表 </a></li>
        <li><a href="module-list.aspx">模块列表 </a></li>
        <li><a href="application-list.aspx">应用程序列表 </a></li>
        <li><a href="org-list.aspx">组织机构列表 </a>
            <ul>
                <li><a href="org-add.aspx">添加组织结构</a></li>
                <li><a href="org-upload.aspx">上传组织结构</a></li>
            </ul>
        </li>
        <li><a href="role-list.aspx">角色列表 </a></li>
        <li><a href="user-list.aspx">用户列表 </a></li>
    </ul>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderTitle" runat="server">
    添加组织机构
    <div class="tab">
            <a class="curr">分配用户</a>
            <asp:HyperLink ID="_ctlLinkList" runat="server">已分配用户</asp:HyperLink>
    </div>
    
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolderToolbar" runat="server">
    <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/_console/core/org-list.aspx">返回</asp:HyperLink>
    <asp:LinkButton ID="_ctlBtnAssign" runat="server" Text="分配" OnClick="_ctlBtnAssign_Click" />
    <asp:TextBox ID="_ctlEditFilter" runat="server"></asp:TextBox>
    <asp:LinkButton ID="_ctlBtnSearch" runat="server" Text="查询" OnClick="_ctlBtnSearch_Click" />
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolderContent" runat="server">
        <asp:Repeater ID="_ctlGridUser" runat="server">
            <HeaderTemplate>
                <table>
                    <tr>
                        <th>
                            -
                        </th>
                        <th>
                            Name
                        </th>
                        <th>
                            Account
                        </th>
                        <th>
                            Email
                        </th>
                        <th>
                            Telephone
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:CheckBox ID="_ctlCheck" runat="server" />
                        <asp:HiddenField ID="_ctlTag" runat="server" Value='<%# Eval("Id") %>' />
                    </td>
                    <td>
                        <%# Eval("Name") %>
                    </td>
                    <td>
                        <%# Eval("Account") %>
                    </td>
                    <td>
                        <%# Eval("Email") %>
                    </td>
                    <td>
                        <%# Eval("Telphone") %>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
</asp:Content>
